package yl.hs.bmipfull.pojo.salemanage;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作用:  下单表实体类<br/>
 * 创建时间: 2023年06月25日 10时36分42秒 <br/>
 *
 * @author 吴高丰
 */
@Data
@DBTable(disName = "下单表", mapCode = "sale_order_place")
public class SaleOrderPlaceEntity extends BaseEntity {

    /**
     * 主键id
     */
    @Nullable
    private Long id;
    /**
     * 数据编号
     */
    @DBField(disName = "下单表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "DD")
    private String sn;
    /**
     * 销售订单编号
     */
    private String saleSN;
    /**
     * 合同编号
     */
    private String contractSN;
    /**
     * 客户编号
     */
    private String customerSN;
    /**
     * 合同名称
     */
    private String contractName;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 车牌号
     */
    private String truckPlate;
    /**
     * 下单人
     */
    private String placeOrderName;
    /**
     * 下单时间
     */
    private Date placeOrderTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Short state;
    private String shiporder;
    private String deviceName;
    private String devicePhone;
    private BigDecimal money;
    private String salerName;
    private String salerSN;
    private String address;
    private Integer fleet;
    private Integer matching;
    private Integer checks;
    private Date checkTime;
}